SNM
Section: User Commands (1)
Updated: 29 May 1988
Index
Return to Main Contents
NAME
snm - print name list for SPUR binary
SYNOPSIS
snm
[
-gnoprua
]
[
[ filename ] ...
DESCRIPTION
Snm
is similar to nm except that it operates on SPUR object files.
Snm prints the name list (symbol table) of each object
filename
in the argument list. If an argument is an archive, a listing for each object
file in the archive will be produced. If no
filename
is given, the symbols in
a.out
are listed.
Each symbol name is preceded by its value (blanks if undefined)
and one of the letters:
- A
-
absolute
- B
-
bss segment symbol
- C
-
common symbol
- D
-
data segment symbol
-
-
T
text segment symbol
- U
-
undefined
- -
-
debug, giving symbol table entries (see
-a
below)
The type letter is upper case if the symbol is external, and
lower case if it is local. Symbols given values in shared regions are
followed by `S' or `s'.
By default, the output is sorted alphabetically by
symbol name.
OPTIONS
- -g
-
Print only global (external) symbols.
- -n
-
Sort numerically rather than alphabetically.
- -o
-
Prepend file or archive element name to each output line rather than only once.
- -p
-
Don't sort; print in symbol-table order.
- -r
-
Sort in reverse order.
- -u
-
Print only undefined symbols.
- -a
-
Print all symbols.
EXAMPLE
-
snm
prints the symbol list of
a.out,
the default output file for the
C,
FORTRAN
77 and Pascal compilers.
SEE ALSO
ar(1), ar(5), a.out(5)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- EXAMPLE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 22:49:27 GMT, December 11, 2024